package com.alibaba.otter.manager.web.dto;

import com.alibaba.otter.shared.arbitrate.model.MainStemEventData;
import com.alibaba.otter.shared.arbitrate.model.PositionEventData;
import com.alibaba.otter.shared.common.model.config.channel.ChannelStatus;
import com.alibaba.otter.shared.common.model.config.pipeline.Pipeline;
import com.alibaba.otter.shared.common.model.statistics.stage.ProcessStat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Getter
@Setter
@Accessors(chain = true)
@ToString
public class StageStatDTO {


    private Long pipelineId;

    private Pipeline pipeline;

    private List<ProcessStat> processStats;

    private Double offset;

    private Long stageStart;

    private Long stageEnd;

    private Map<Long, Long> processTime;

    private MainStemEventData mainstemData;

    private PositionEventData  positionData;

    private ChannelStatus channelStatus;
}
